<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>科技有限公司</title>
    <link rel="shortcut icon" type="image/x-icon" href="../img/icon.ico"/>
    <link rel="stylesheet" href="../css/front/news.css">
    <script src="../js/jquery-3.5.1.js"></script>
    <script src="../js/front/high_tech.js"></script>
</head>
<style>
</style>
<body>
<%--<div id="top"></div>--%>
<jsp:include page="top.jsp"/>
<div class="middle">
    <div class="news_header">
        <div class="news_title">\新闻动态</div>
        <div id="photo"><img src="../img/news_lc05.png" width="130%" height="120%"/></div>
    </div>
    <div class="news_content">
        <div class="news_type">
            <c:forEach items="${newsTypes}" var="newstype">
                <div>${newstype.name}</div>
            </c:forEach>
<%--            <div>公司新闻</div>--%>
<%--            <div>行业资讯</div>--%>
<%--            <div>媒体报道</div>--%>
        </div>
        <div class="news_list">
            <c:forEach items="${news}" var="news">
                <div>
                    <div class="header" href="#">
                        <div class="type">[${news.newsType.name}]</div>
                        <div class="title"> ${news.title}</div>
                    </div>
                    <div class="date">${news.create_time}</div>
                </div>
            </c:forEach>
        </div>
        <jsp:include page="page.jsp"/>
    </div>
</div>
<%--<div id="footer"></div>--%>
<jsp:include page="footer.jsp"/>
</body>
</html>